package com.dz.bean;

public class user {
    private Integer id;
    private String name;
    private String username;
    private String password;
    private String lianxi;
    private String sex;
    private String dizhi;


    public user() {
    }

    public user(Integer id, String name, String username, String password, String lianxi, String sex, String dizhi) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.password = password;
        this.lianxi = lianxi;
        this.sex = sex;
        this.dizhi = dizhi;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDizhi() {
        return dizhi;
    }

    public void setDizhi(String dizhi) {
        this.dizhi = dizhi;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLianxi() {
        return lianxi;
    }

    public void setLianxi(String lianxi) {
        this.lianxi = lianxi;
    }

    @Override
    public String toString() {
        return "user{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", lianxi='" + lianxi + '\'' +
                ", sex='" + sex + '\'' +
                ", dizhi='" + dizhi + '\'' +
                '}';
    }
}
